#include<bits/stdc++.h>
using namespace std;
int solve() {
  int n; cin>>n;
  int half = n/2;
  for(int i=0; i<half; ++i) {
    cout.put('a');
  }
  cout.put('b');
  if(n>=2 && n%2) cout.put('c');
  for(int i=0; i<half-1; ++i) {
    cout.put('a');
  }
  cout.put('\n');
  return 0;
}
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0); cout.tie(0);
  // freopen("in.txt","r",stdin);
  // freopen("out.txt","w",stdout);
  int tc; cin>>tc;
  for(int t = 1; t <= tc; t++) {
    // cout << "Case #" << t << ": \n";
    solve();
  }
  return 0;
}
